cordova.define("com.daren.imagePicker.ImagePicker", function(require, exports, module) {
	
var exec = require('cordova/exec');

var getPictures = function(success, fail, options) {
	if (!options) {
		options = {};
	}
	
	var params = {
		maximumImagesCount: options.maximumImagesCount ? options.maximumImagesCount : 15,
		width: options.width ? options.width : 0,
		height: options.height ? options.height : 0,
		quality: options.quality ? options.quality : 100
	};

	return cordova.exec(success, fail, "ImagePicker", "getPictures", [params]);
};

module.exports ={
	getPictures:getPictures
};

});
